var express = require('express');
var router = express.Router();

const { login, register, getStudentsInfo ,updateInformation } = require('../controllers/studentsControllers');


/* 登录 匹配前端的登录二级接口 */
router.post('/login', login);
/* 注册 匹配前端的注册二级接口 */
router.post('/register', register)
router.post('/getStudentsInfo', getStudentsInfo)
router.post('/updateInformation', updateInformation)

module.exports = router;